using System;
using System.Collections.Generic;
using System.Text;
using DAL;
using Models;

namespace BLL
{

    public static partial class VideoInfoManager
    {
        public static bool AddVideoInfo(Models.VideoInfo videoInfo)
        {
            return VideoInfoService.AddVideoInfo(videoInfo);
        }

        public static int AddVideoInfoReturnID(Models.VideoInfo videoInfo)
        {
            return VideoInfoService.AddVideoInfoReturnID(videoInfo);
        }

        public static bool DeleteVideoInfoByID(int iD)
        {
            return VideoInfoService.DeleteVideoInfoByID(iD);
        }

        public static bool ModifyVideoInfo(Models.VideoInfo videoInfo)
        {
            return VideoInfoService.ModifyVideoInfo(videoInfo);
        }

        public static bool ModifyVideoInfoCount(int id, int count)
        {
            return VideoInfoService.ModifyVideoInfoCount(id, count);
        }

        public static IList<Models.VideoInfo> GetAllVideoInfos()
        {
            return VideoInfoService.GetAllVideoInfos();
        }

        public static IList<Models.VideoInfo> GetVideoInfosLast()
        {
            return VideoInfoService.GetVideoInfosLast();
        }

        public static IList<Models.VideoInfo> GetVideoInfosTop10()
        {
            return VideoInfoService.GetVideoInfosTop10();
        }

        public static IList<Models.VideoInfo> GetVideoInfosTop10Latest()
        {
            return VideoInfoService.GetVideoInfosTop10Latest();
        }

        public static IList<Models.VideoInfo> GetVideoInfosTop10ByCount()
        {
            return VideoInfoService.GetVideoInfosTop10ByCount();
        }

        public static IList<Models.VideoInfo> GetVideoInfosTop10ByPoint()
        {
            return VideoInfoService.GetVideoInfosTop10ByPoint();
        }

        public static IList<Models.VideoInfo> GetVideoInfosByTitle(string title)
        {
            return VideoInfoService.GetVideoInfosByTitle(title);
        }

        public static IList<Models.VideoInfo> GetVideoInfosByAuthor(string author)
        {
            return VideoInfoService.GetVideoInfosByAuthor(author);
        }

        public static IList<Models.VideoInfo> GetVideoInfosByTypeID(string typeID)
        {
            return VideoInfoService.GetVideoInfosByTypeID(typeID);
        }

        public static Models.VideoInfo GetVideoInfoByID(int iD)
        {
            return VideoInfoService.GetVideoInfoByID(iD);
        }

    }
}
